package top.yzhao.trackdatasystem.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;
import top.yzhao.trackdatasystem.model.User;

/**
 * User: zhaoyang
 * Date: 2020/3/12
 * Time: 21:10
 * Description: No Description
 */
@Repository
@Mapper
public interface LoginDao {

    @Select("select * from User where username=#{username} and password=#{password}")
    public User Login(User user);
}
